package com.wilmer.carousel.domain;

import com.wilmer.common.annotation.Excel;
import com.wilmer.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 轮播图对象 wechat_carousel
 * 
 * @author hans
 * @date 2024-03-15
 */
public class WechatCarousel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long carouselId;

    /** 名称 */
    @Excel(name = "名称")
    private String carouselName;

    /** 封面 */
    @Excel(name = "封面")
    private String carouselCover;

    /** 海报 */
    @Excel(name = "海报")
    private String carouselPoster;

    /** 是否展示 */
    @Excel(name = "是否展示")
    private Integer carouselShow;

    /** 顺序 */
    @Excel(name = "顺序")
    private Long carouselRank;

    public void setCarouselId(Long carouselId) 
    {
        this.carouselId = carouselId;
    }

    public Long getCarouselId() 
    {
        return carouselId;
    }
    public void setCarouselName(String carouselName) 
    {
        this.carouselName = carouselName;
    }

    public String getCarouselName() 
    {
        return carouselName;
    }
    public void setCarouselCover(String carouselCover) 
    {
        this.carouselCover = carouselCover;
    }

    public String getCarouselCover() 
    {
        return carouselCover;
    }
    public void setCarouselPoster(String carouselPoster) 
    {
        this.carouselPoster = carouselPoster;
    }

    public String getCarouselPoster() 
    {
        return carouselPoster;
    }
    public void setCarouselShow(Integer carouselShow) 
    {
        this.carouselShow = carouselShow;
    }

    public Integer getCarouselShow() 
    {
        return carouselShow;
    }
    public void setCarouselRank(Long carouselRank) 
    {
        this.carouselRank = carouselRank;
    }

    public Long getCarouselRank() 
    {
        return carouselRank;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("carouselId", getCarouselId())
            .append("carouselName", getCarouselName())
            .append("carouselCover", getCarouselCover())
            .append("carouselPoster", getCarouselPoster())
            .append("carouselShow", getCarouselShow())
            .append("carouselRank", getCarouselRank())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
